<?php

class Application_Model_NouModel {

    public static function crearModel($model) {
        switch ($model) {
            case 'natives': return new Application_Model_Natives();
            case 'odbc': return new Application_Model_Odbc();
            case 'adodb': return new Application_Model_Adodb();
            case 'pdo': return new Application_Model_Pdo();
            case 'mysqli': return new Application_Model_Mysqli();
            case 'ajax': return new Application_Model_Ajax();
            default: return null;
        }
    }

}

